package model;

import java.io.Serializable;

import play.libs.ws.WSResponse;

public class Pair implements Serializable {

	private static final long serialVersionUID = -4261944464721474995L;

	public static final String BASIC_URL = "https://www.stockpair.com/trading/trading?pairId=%s&snippet&li";

	public String id;
	public String name;
	public int sentiment;
	public String side;
	
	public WSResponse response;
	
	public Pair(String id, String name,WSResponse response) {
		this.id = id;
		this.name = name;
		this.response=response;
	}

	public String getUrl() {
		return String.format(BASIC_URL, id);
	}

}
